public class Demo1 {
    public static void main(String[] args) {
        Object locker = new Object();
        Thread t1 = new Thread(() -> {
            synchronized(locker) {
                synchronized (locker) {
                    System.out.println("t1 线程启动");
                }
            }
        });

        t1.start();
    }
}
